Optimal. Leaf size=18 \[ \sqrt {x^2+9}+2 \sinh ^{-1}\left (\frac {x}{3}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {641, 215} \begin {gather*} \sqrt {x^2+9}+2 \sinh ^{-1}\left (\frac {x}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 641
Rubi steps
\begin {align*} \int \frac {2+x}{\sqrt {9+x^2}} \, dx &=\sqrt {9+x^2}+2 \int \frac {1}{\sqrt {9+x^2}} \, dx\\ &=\sqrt {9+x^2}+2 \sinh ^{-1}\left (\frac {x}{3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 18, normalized size = 1.00 \begin {gather*} \sqrt {x^2+9}+2 \sinh ^{-1}\left (\frac {x}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.13, size = 26, normalized size = 1.44 \begin {gather*} \sqrt {x^2+9}-2 \log \left (\sqrt {x^2+9}-x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 22, normalized size = 1.22 \begin {gather*} \sqrt {x^{2} + 9} - 2 \, \log \left (-x + \sqrt {x^{2} + 9}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 22, normalized size = 1.22 \begin {gather*} \sqrt {x^{2} + 9} - 2 \, \log \left (-x + \sqrt {x^{2} + 9}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 15, normalized size = 0.83 \begin {gather*} 2 \arcsinh \left (\frac {x}{3}\right )+\sqrt {x^{2}+9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.92, size = 14, normalized size = 0.78 \begin {gather*} \sqrt {x^{2} + 9} + 2 \, \operatorname {arsinh}\left (\frac {1}{3} \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 14, normalized size = 0.78 \begin {gather*} 2\,\mathrm {asinh}\left (\frac {x}{3}\right )+\sqrt {x^2+9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 14, normalized size = 0.78 \begin {gather*} \sqrt {x^{2} + 9} + 2 \operatorname {asinh}{\left (\frac {x}{3} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________